Notice there is a bug when using astimezone() on utc time. This gives an incorrect result:

34

datetime.datetime.utcnow().astimezone().isoformat() #Incorrect result

Comments

Submit
0 Comments